package com.qzy.demo.pojo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class OrderPojo {
    private Integer id;
    private String orderNo;
    private String orderName;
    private BigDecimal amount;
    private Date addTime;

    public OrderPojo(){}

    public OrderPojo(String orderNo, String orderName, BigDecimal amount){
        this.orderNo = orderNo;
        this.orderName = orderName;
        this.amount = amount;
        this.addTime = new Date();
    }
}
